package service.impl;

import dao.StaffDao;
import dao.impl.StaffDaoImpl;
import entity.Staff;
import service.StaffService;

import java.util.List;

public class StaffServiceImpl implements StaffService {
    private StaffDao staffDao = new StaffDaoImpl();

    @Override
    public List<Staff> getAllStaffs() {
        List<Staff> staffs = staffDao.selectAllStaffs();
        return staffs;
    }
}
